HelloPrint\Inc\Base\Controllers\Admin\ProductController D

Total Complexity 201
Dependencies 7
Dependents 2
Total lines 1,005
Lines of code 840
Logical lines of code 475
Comment lines 48
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
add_helloprint_product_detail_panel()
D
25
29 169
save_helloprint_product_panel()
C
31 27 112
get_helloprint_product_variant_filter()
B
35 23 72
add_helloprint_product_summary()
B
36 23 69
helloprint_view_order_details()
B
35 18 90
helloprint_save_artwork_of_order()
B
37 16 73
get_sku_limit_variant_for_selected_options()
B
43 16 48
get_sku_limit_variant()
A
49 11 29
check_if_regex_matched()
A
53 9 21
save_img_as_preview()
S
44 5 43
helloprint_product_attributes_shortcode()
S
56 5 16
helloprint_delete_artwork_of_order()
S
52 4 24
helloprint_is_purchasable()
S
70 3 6
register()
S
53 1 21
register_helloprint_product_type_class()
S
69 2 7
get_helloprint_product_details()
S
68 2 7
is_valid_url()
S
66 2 8
get_helloprint_product_formatted_price()
S
75 1 4
helloprint_custom_http_request_timeout()
S
82 1 3
get_helloprint_ajax_category_detail()
S
70 1 6
add_helloprint_product_to_tab()
S
66 1 8
add_helloprint_product_type()
S
74 1 4